arm/early-printk: calculate baud rate divisor from user provided value
authorAndre Przywara <andre.przywara@calxeda.com>
Fri, 24 May 2013 13:47:26 +0000 (15:47 +0200)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 30 May 2013 08:20:10 +0000 (09:20 +0100)
commitb68346247f74e002ef180403167888a03f488080
tree05b17aaa93f8ba4d5dfb6b8151cacab4b842dfb8
parent54353cae096c19f176417f6d425de0a0f8a71228
arm/early-printk: calculate baud rate divisor from user provided value

For early-printk the used baud rate was hardcoded in the code, using
precalculated divisor values.
Let the calculation of these values be done by the preprocessor and
use a human readable value in xen/arch/arm/Rules.mk to drive this.

Signed-off-by: Andre Przywara <andre.przywara@calxeda.com>
Reviewed-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
docs/misc/arm/early-printk.txt
xen/arch/arm/Rules.mk
xen/arch/arm/arm32/debug-exynos4210.inc
xen/arch/arm/arm32/debug-pl011.inc
xen/arch/arm/arm64/debug-pl011.inc